
/* 用户对购物车相关的操作 */
 function shoppingCart(info){
	const {
		type,data
	}=info
try{
	let command={
		created:()=>{
				info?.success()
		},
		del:()=>{
			info?.success()

		},
		update:()=>{
			info?.success()

		}
		
	}
	command[type]()
}catch(e){
	console.err('购物车报错啦')
}

}